﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LiveSequence.Common.Domain;
using LiveSequence.Controls;

namespace LiveSequence
{
  public class MethodCallInfoTreeNode : GTreeNode<MethodCallInfo>
  {
    public MethodCallInfoTreeNode(MethodCallInfo methodCallInfo) : base (methodCallInfo)
    {
      string strResult = string.Format("{0}::{1}", Item.MethodCallType, Item.MethodCallName);
      Text = strResult;
    }

    public override string ToString()
    {
      string strResult = string.Format("{0}::{1}", Item.TypeName, Item.MethodName);
      return strResult;
    }
  }
}
